|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.desktop.projects.core.export.Exporter
public class Exporter
Strategy for exporting projects as web applications.
| Constructor Summary | |
|---|---|
Exporter(org.eclipse.ui.IWorkbench workbench)
Creates a new Exporter. |
|
| Method Summary | |
|---|---|
void |
addExporterObserver(ExporterObserver observer)
Adds an observer to this exporter. |
void |
deselectProject(java.lang.String projectName)
Marks the specified project as not selected. |
void |
exportWebApplication(org.eclipse.core.runtime.IProgressMonitor monitor,
ExporterExtension[] extensions)
Exports the current configuration. |
static java.lang.String[] |
getAllArchivePaths()
Returns the paths of all archives previously exported. |
java.lang.String[] |
getApplicationProjectNames()
Returns the names of the application projects. |
java.io.File |
getArchive()
Returns the WAR file to create. |
java.lang.String[] |
getFragmentProjectNames()
Returns the names of the fragment projects. |
static java.lang.String |
getLastArchivePath()
Returns the path of the archive most recently exported. |
java.lang.String[] |
getMediaProjectNames()
Returns the names of the media projects. |
org.eclipse.core.resources.IProject |
getProject(java.lang.String projectName)
Returns the specified project. |
boolean |
isProjectDirty(java.lang.String projectName)
Returns true if the specified project is dirty. |
boolean |
isProjectSelected(java.lang.String projectName)
Returns true if the specified project is selected. |
void |
removeExporterObserver(ExporterObserver observer)
Removed an observer from this exporter. |
void |
selectProject(java.lang.String projectName)
Marks the specified project as selected. |
void |
setArchive(java.io.File archive)
Sets the WAR file to create. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Exporter(org.eclipse.ui.IWorkbench workbench)
| Method Detail |
|---|
public static java.lang.String getLastArchivePath()
public static java.lang.String[] getAllArchivePaths()
public java.io.File getArchive()
public void setArchive(java.io.File archive)
archive - The WAR file to create.public java.lang.String[] getApplicationProjectNames()
public java.lang.String[] getFragmentProjectNames()
public java.lang.String[] getMediaProjectNames()
public org.eclipse.core.resources.IProject getProject(java.lang.String projectName)
projectName - The name of the project to return.
public boolean isProjectSelected(java.lang.String projectName)
projectName - The name of the project to check.
public boolean isProjectDirty(java.lang.String projectName)
projectName - The name of the project to check.
public void selectProject(java.lang.String projectName)
projectName - The project to mark.public void deselectProject(java.lang.String projectName)
projectName - The project to mark.
public void exportWebApplication(org.eclipse.core.runtime.IProgressMonitor monitor,
ExporterExtension[] extensions)
throws org.eclipse.core.runtime.CoreException
monitor - The monitor to inform of progress.extensions - The extensions to use.
org.eclipse.core.runtime.CoreException - If the export fails.public void addExporterObserver(ExporterObserver observer)
observer - The observer to add.public void removeExporterObserver(ExporterObserver observer)
observer - The observer to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||